package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.GenreMoviesPieMapper;
import com.chinasoft.movies.pojo.GenreMoviesPie;
import com.chinasoft.movies.service.GenreMoviesPieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GenreMoviesPieServiceImpl implements GenreMoviesPieService {

    @Autowired
    private GenreMoviesPieMapper genreMoviesPieMapper;

    @Override
    public List<GenreMoviesPie> queryAllGenreMoviesPie(){
        return genreMoviesPieMapper.queryAllGenreMoviesPie();
    }
}
